package com.sunu.entity.worker;

/**
 * Created by i on 2019/9/20.
 */
public class Worker {
    private Integer workerId;
    private String workerName;
    private String workerSex;
    private String workerAge;
    private String workerPhone;

    public Worker(Integer workerId, String workerName, String workerSex,String workerAge, String workerPhone) {
        this.workerId = workerId;
        this.workerName = workerName;
        this.workerSex=workerSex;
        this.workerAge = workerAge;
        this.workerPhone = workerPhone;
    }

    public int getWorkerId() {

        return workerId;
    }

    public void setWorkerId(int workerId) {
        this.workerId = workerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getWorkerAge() {
        return workerAge;
    }

    public void setWorkerAge(String workerAge) {
        this.workerAge = workerAge;
    }

    public String getWorkerPhone() {
        return workerPhone;
    }

    public void setWorkerPhone(String workerPhone) {
        this.workerPhone = workerPhone;
    }

    public String getWorkerSex() {
        return workerSex;
    }

    public void setWorkerSex(String workerSex) {
        this.workerSex = workerSex;
    }

    @Override
    public String toString() {
        return "Worker{" +
                "workerId=" + workerId +
                ", workerName='" + workerName + '\'' +
                ", workerSex='" + workerSex + '\'' +
                ", workerAge='" + workerAge + '\'' +
                ", workerPhone='" + workerPhone + '\'' +
                '}';
    }

}
